600 |
How can I display minutes
axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.UnitWidth = 64; axG2antt1.Chart.get_Level(0).Label = 65536; axG2antt1.Chart.get_Level(1).Label = 1048576; |
599 |
How can I display seconds, from 15 to 15
axG2antt1.Chart.FirstVisibleDate = "00:00"; axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.get_Level(0).Label = 1048576; EXG2ANTTLib.Level var_Level = axG2antt1.Chart.get_Level(1); var_Level.Label = "<%ss%>"; var_Level.Count = 15; |
598 |
How can I display seconds
axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.get_Level(0).Label = 1048576; axG2antt1.Chart.get_Level(1).Label = "<%ss%>"; |
597 |
How can I display seconds
axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.get_Level(0).Label = 1048576; axG2antt1.Chart.get_Level(1).Label = 16777216; |
596 |
How can I align the text being shown in the chart's header
|
595 |
How can I hide the tooltip being displayed in the chart's header
|
594 |
How can I change the tooltip being displayed in the chart's header
|
593 |
How can I change the visual appearance of the chart's header, where levels are displayed, using your EBN files
axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.BackColorLevelHeader = 0x1000000; |
592 |
How can I change the level's foreground color in the chart
axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.get_Level(0).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); axG2antt1.Chart.get_Level(1).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255)); |
591 |
How can I change the level's background color in the chart
|
590 |
How can I save data on XML format
|
589 |
How can I load data on XML format
|
588 |
How can I add icons or pictures to the scale or zoom area
axG2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif"); axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.OverviewHeight = 48; var_Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; var_Chart.AllowOverviewZoom = EXG2ANTTLib.OverviewZoomEnum.exZoomOnRClick; var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"; var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHalfYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exQuarterYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exThirdMonth,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHour,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exSecond,""); var_Chart.OverviewZoomUnit = 52; axG2antt1.Columns.Add(""); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("Right click the Overview area and select a new scale"),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
587 |
How can I add icons or pictures to the scale or zoom area
axG2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif"); axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.OverviewHeight = 48; var_Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; var_Chart.AllowOverviewZoom = EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom; var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"; var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHalfYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exQuarterYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exThirdMonth,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHour,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exSecond,""); var_Chart.OverviewZoomUnit = 52; |
586 |
How can I change the width of the unit in the scale or zoom
|
585 |
How can I a scale or zoom of the chart, when right clicking the chart's header
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; var_Chart.AllowOverviewZoom = EXG2ANTTLib.OverviewZoomEnum.exZoomOnRClick; var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"; var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHalfYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exQuarterYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exThirdMonth,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHour,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exSecond,""); var_Chart.OverviewZoomUnit = 64; axG2antt1.Columns.Add(""); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("Right click the Overview area and select a new scale"),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
584 |
How can I a customize the scale or zoom of the chart
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; var_Chart.AllowOverviewZoom = EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom; var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"; var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHalfYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exQuarterYear,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exThirdMonth,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHour,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,""); var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exSecond,""); var_Chart.OverviewZoomUnit = 64; |
583 |
How can I a scale or zoom the chart at runtime
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; var_Chart.AllowOverviewZoom = EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom; var_Chart.OverviewZoomCaption = "½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"; |
582 |
How can I a scale or zoom the chart at runtime
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; var_Chart.AllowOverviewZoom = EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom; var_Chart.OverviewZoomUnit = 24; |
581 |
How can I a programmatically select a date
axG2antt1.Chart.MarkSelectDateColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); axG2antt1.Chart.SelectLevel = 0; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Chart.set_SelectDate(Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); axG2antt1.Chart.set_SelectDate(Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); |
580 |
How can I change the color to select a date, when clicking the chart's header
|
579 |
How can I enable or disable selecting a date, when clicking the chart's header
|
578 |
How can I specify the color or the stype for non working hours
|
577 |
How can I specify the pattern or the stype for non working hours
|
576 |
How can I specify the non working hours
|
575 |
How can I get the index of the level from the point or cursor
|
574 |
How can I get the link from the point or cursor
|
573 |
How can I disable or enable at runtime linking the bars
axG2antt1.Chart.AllowLinkBars = true; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null); var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null); |
572 |
How can I check or verify if a date is a non working day
|
571 |
How can I check or verify if a date fits the chart's visible area
|
570 |
How can I add a remove all non working days
|
569 |
How can I add a remove a non working days
|
568 |
How can I add a custom non working days
axG2antt1.Chart.NonworkingDays = 0; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Chart.AddNonworkingDate(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axG2antt1.Chart.AddNonworkingDate(Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); |
567 |
How can hide the non working days
|
566 |
How can hide the non working days
axG2antt1.Chart.NonworkingDays = 0; |
565 |
How can I let user adds new bars at runtime
axG2antt1.Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto; axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("Item 1"); var_Items.AddItem("Item 2"); |
564 |
How can I change the width of the links between bars
axG2antt1.Chart.LinksStyle = EXG2ANTTLib.LinkStyleEnum.exLinkSolid; axG2antt1.Chart.LinksWidth = 2; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null); var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null); var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2"); |
563 |
How can I change the style for the links between bars
axG2antt1.Chart.LinksStyle = EXG2ANTTLib.LinkStyleEnum.exLinkDashDotDot; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null); var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null); var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2"); |
562 |
How can I change the color for the links between bars
axG2antt1.Chart.LinksColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null); var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null); var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2"); |
561 |
How can I hide the links between bars
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null); var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null); var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2"); axG2antt1.Chart.ShowLinks = EXG2ANTTLib.ShowExtendedLinksEnum.exHideLinks; |
560 |
How can I display some grid line in the overview area
axG2antt1.Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; axG2antt1.Chart.OverviewLevelLines = 0; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
559 |
How do I change the tooltip when the cursor hovers the overview area
axG2antt1.Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; axG2antt1.Chart.OverviewToolTip = "Tooltip on the overview"; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
558 |
How do I remove the tooltip when the cursor hovers the overview area
axG2antt1.Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; axG2antt1.Chart.OverviewToolTip = ""; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
557 |
How do I change the selection color in the overview area
axG2antt1.Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; axG2antt1.Chart.OverviewSelBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
556 |
How do I change the background color for the overview area
axG2antt1.Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; axG2antt1.Chart.OverviewBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
555 |
How do I specify the height for the overview area
axG2antt1.Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; axG2antt1.Chart.OverviewHeight = 16; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
554 |
How do I show or hide the control's overview area
axG2antt1.Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible; axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
553 |
How do I enable or disable resizing the bars at runtime
|
552 |
How do I get the bar from the point or cursor
// MouseMove event - Occurs when the user moves the mouse. private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e) { System.Diagnostics.Debug.Print( axG2antt1.get_ItemFromPoint(-1,-1,c,h).ToString() ); System.Diagnostics.Debug.Print( axG2antt1.Chart.get_BarFromPoint(-1,-1).ToString() ); } //this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent); axG2antt1.BeginUpdate(); axG2antt1.Columns.Add("Task"); EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Chart.set_PaneWidth(false,64); var_Chart.LevelCount = 2; EXG2ANTTLib.Items var_Items = axG2antt1.Items; int h1 = var_Items.AddItem("Task 1"); var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null); int h2 = var_Items.AddItem("Task 2"); var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null); var_Items.AddLink("L1",h1,"K1",h2,"K2"); int h3 = var_Items.AddItem("Task 3"); var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null); var_Items.AddLink("L2",h2,"K2",h3,"K3"); axG2antt1.EndUpdate(); |
551 |
How do I specify the color of pattern for non working days
|
550 |
How do I specify the type of pattern for non working days
|
549 |
How do I specify the non working days
|
548 |
How do I specify the non working days
|
547 |
How do I add a predefined bar
axG2antt1.Chart.Bars.Add("CustomBar").Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axG2antt1.Columns.Add("Column"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddBar(var_Items.AddItem("Item 1"),"CustomBar",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null); |
546 |
How do I change the unit being displayed in the chart
|
545 |
How do I specify the prodefined tooltip being shown on the chart's header, when Zoom method is used
|
544 |
How do I specify the prodefined labels being displayed on the chart, when Zoom method is used
axG2antt1.Chart.set_PaneWidth(false,0); axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.set_Label(EXG2ANTTLib.UnitEnum.exHalfYear,""); axG2antt1.Chart.set_Label(EXG2ANTTLib.UnitEnum.exQuarterYear,""); axG2antt1.Chart.set_Label(EXG2ANTTLib.UnitEnum.exMonth,"<%m3%>"); axG2antt1.Chart.Zoom(Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null); axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")); |
543 |
How do I scale or zoom the chart to a specified range of date
axG2antt1.Chart.set_PaneWidth(false,0); axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.set_Label(EXG2ANTTLib.UnitEnum.exHalfYear,""); axG2antt1.Chart.set_Label(EXG2ANTTLib.UnitEnum.exQuarterYear,""); axG2antt1.Chart.set_Label(EXG2ANTTLib.UnitEnum.exMonth,"<%m3%>"); axG2antt1.Chart.Zoom(Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null); axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US")); |
542 |
How do I scale or zoom the chart to a specified range of date
|
541 |
How do I find the next date or previous date
|
540 |
How can I change the color for the grid lines in the chart
|
539 |
How can I draw, show or hide the grid lines in the chart
axG2antt1.Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines; axG2antt1.Chart.LevelCount = 2; axG2antt1.Chart.get_Level(1).DrawGridLines = true; |
538 |
How do I change the color to highlight the today in the chart
|
537 |
How do I hide or stop highlighting the today area in the chart
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.MarkTodayColor = var_Chart.BackColor; |
536 |
Is there any function to get the date in the format that I use for levels, to layout my chart's header
|
535 |
How can I get the date from the point, cursor
// MouseMove event - Occurs when the user moves the mouse. private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e) { System.Diagnostics.Debug.Print( axG2antt1.Chart.get_DateFromPoint(-1,-1).ToString() ); } //this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent); |
534 |
How can I show or hide the small ticker that shows up when the cursor hovers the chart area
|
533 |
How can I change the first visible date in the chart
|
532 |
How can I scroll or ensure that a specified date time is visible in the chart
|
531 |
How can I scroll or ensure that a specified date time is visible to the right side of the chart or control
|
530 |
How can I scroll or ensure that a specified date time is visible
|
529 |
How can I show or hide the the tooltip being shown when the user scrolls the chart
|
528 |
How can I change the format of the tooltip when the user scrolls the chart
|
527 |
How can I hide the chart's scroll bar
|
526 |
How can I specify the first day of the week
|
525 |
How do I change the AM or PM shortcuts in the chart's header
|
524 |
How do I change the name for the months, being displayed in the chart's header
|
523 |
How do I change the name for the week days, being displayed in the chart's header
|
522 |
How do I access a level in the chart's header
|
521 |
How can I change the color for the grid lines between the leves in the chart's header
|
520 |
How can I show or hide the grid lines between the leves in the chart's header
axG2antt1.GridLineColor = Color.FromArgb(255,0,0); EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart; var_Chart.LevelCount = 2; var_Chart.get_Level(0).DrawTickLines = EXG2ANTTLib.LevelLineEnum.exLevelNoLine; var_Chart.get_Level(1).DrawTickLines = EXG2ANTTLib.LevelLineEnum.exLevelNoLine; |
519 |
How do I change the foreground color for the chart's header
|
518 |
How do I change the background color for the chart's header
|
517 |
How do I specify the chart's foreground color
|
516 |
How do I specify the chart's background color
|
515 |
How do I put a picture on the center of the chart
axG2antt1.Chart.Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axG2antt1.Chart.PictureDisplay = EXG2ANTTLib.PictureDisplayEnum.MiddleCenter; |
514 |
How do I resize/stretch a picture on the chart's background
axG2antt1.Chart.Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axG2antt1.Chart.PictureDisplay = EXG2ANTTLib.PictureDisplayEnum.Stretch; |
513 |
How do I put a picture on the chart's center right bottom side
axG2antt1.Chart.Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axG2antt1.Chart.PictureDisplay = EXG2ANTTLib.PictureDisplayEnum.LowerRight; |
512 |
How do I put a picture on the chart's center left bottom side
axG2antt1.Chart.Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axG2antt1.Chart.PictureDisplay = EXG2ANTTLib.PictureDisplayEnum.LowerLeft; |
511 |
How do I put a picture on the chart's center top side
axG2antt1.Chart.Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axG2antt1.Chart.PictureDisplay = EXG2ANTTLib.PictureDisplayEnum.UpperCenter; |
510 |
How do I put a picture on the chart's right top corner
axG2antt1.Chart.Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axG2antt1.Chart.PictureDisplay = EXG2ANTTLib.PictureDisplayEnum.UpperRight; |
509 |
How do I put a picture on the chart's left top corner
axG2antt1.Chart.Picture = (axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axG2antt1.Chart.PictureDisplay = EXG2ANTTLib.PictureDisplayEnum.UpperLeft; |
508 |
How do I put a picture on the chart's background
|
507 |
How to specify the width for the left or side pane
|
506 |
How do I display the header of the chart using multiple levels, lines
|
505 |
How do change the width of the chart's area
|
504 |
How do I show or hide the control's chart area
|
503 |
How do I access the chart's area of the control
|
502 |
How can I select a cells like in excel
axG2antt1.SingleSel = false; axG2antt1.FullRowSelect = EXG2ANTTLib.CellSelectEnum.exRectSel; axG2antt1.MarkSearchColumn = false; axG2antt1.SearchColumnIndex = -1; axG2antt1.Columns.Add("Column1"); axG2antt1.Columns.Add("Column2"); axG2antt1.Columns.Add("Column3"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.DefaultItem = var_Items.AddItem(0); var_Items.set_CellValue(0,1,1); var_Items.set_CellValue(0,2,2); var_Items.DefaultItem = var_Items.AddItem(3); var_Items.set_CellValue(0,1,4); var_Items.set_CellValue(0,2,5); var_Items.DefaultItem = var_Items.AddItem(6); var_Items.set_CellValue(0,1,7); var_Items.set_CellValue(0,2,8); |
501 |
How can I select a multiple column
axG2antt1.MarkSearchColumn = false; axG2antt1.SingleSel = false; axG2antt1.FullRowSelect = EXG2ANTTLib.CellSelectEnum.exRectSel; (axG2antt1.Columns.Add("Column1") as EXG2ANTTLib.Column).Selected = true; axG2antt1.Columns.Add("Column2"); (axG2antt1.Columns.Add("Column3") as EXG2ANTTLib.Column).Selected = true; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.DefaultItem = var_Items.AddItem(0); var_Items.set_CellValue(0,1,1); var_Items.set_CellValue(0,2,2); var_Items.DefaultItem = var_Items.AddItem(3); var_Items.set_CellValue(0,1,4); var_Items.set_CellValue(0,2,5); var_Items.DefaultItem = var_Items.AddItem(6); var_Items.set_CellValue(0,1,7); var_Items.set_CellValue(0,2,8); axG2antt1.Items.SelectAll(); |